package com.wf.smartcomm.server.serviceImpl;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wf.smartcomm.server.bean.AppFeedback;
import com.wf.smartcomm.server.service.AppFeedbackService;

@Service
@Transactional
public class AppFeedbackServiceImpl implements AppFeedbackService {
	
	@Resource
	private SessionFactory factory;

	@Override
	public void save(AppFeedback feedback) throws Exception {
		factory.getCurrentSession().persist(feedback);
	}

}
